package com.example.myapp;

import java.io.Serializable;

/**
 * Created by 艳双 on 2015/12/18.
 * project:TakePhoto
 * user:lisa[FR]
 * Date:2015/12/18
 */
public class User implements Serializable {
    private static final long serialVersionUID = -228762477194240853L;
    private boolean isLogin;// 是否登录
    private String user_id;// 用户id
    private String mobile;// 電話號碼
    private String password;// 密码
    private String truename;// 真实姓名
    private String gender;// 性别
    private String gender_value;// 性别
    private String birth_year;
    private String hometown;// 家乡id
    private String hometown_value;// 家乡
    private String avatar;// 头像
    private String city_id;//
    private String city_id_value;//
    private String school_name;

    @Override
    public String toString() {
        return "User{" +
                "isLogin=" + isLogin +
                ", user_id='" + user_id + '\'' +
                ", mobile='" + mobile + '\'' +
                ", password='" + password + '\'' +
                ", truename='" + truename + '\'' +
                ", gender='" + gender + '\'' +
                ", gender_value='" + gender_value + '\'' +
                ", birth_year='" + birth_year + '\'' +
                ", hometown='" + hometown + '\'' +
                ", hometown_value='" + hometown_value + '\'' +
                ", avatar='" + avatar + '\'' +
                ", city_id='" + city_id + '\'' +
                ", city_id_value='" + city_id_value + '\'' +
                ", school_name='" + school_name + '\'' +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public boolean isLogin() {
        return isLogin;
    }

    public void setIsLogin(boolean isLogin) {
        this.isLogin = isLogin;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getGender_value() {
        return gender_value;
    }

    public void setGender_value(String gender_value) {
        this.gender_value = gender_value;
    }

    public String getBirth_year() {
        return birth_year;
    }

    public void setBirth_year(String birth_year) {
        this.birth_year = birth_year;
    }

    public String getHometown() {
        return hometown;
    }

    public void setHometown(String hometown) {
        this.hometown = hometown;
    }

    public String getHometown_value() {
        return hometown_value;
    }

    public void setHometown_value(String hometown_value) {
        this.hometown_value = hometown_value;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getCity_id() {
        return city_id;
    }

    public void setCity_id(String city_id) {
        this.city_id = city_id;
    }

    public String getCity_id_value() {
        return city_id_value;
    }

    public void setCity_id_value(String city_id_value) {
        this.city_id_value = city_id_value;
    }

    public String getSchool_name() {
        return school_name;
    }

    public void setSchool_name(String school_name) {
        this.school_name = school_name;
    }
}
